using System;
using System.Collections.Generic;
using System.Text;

namespace automobili_data
{
    /// <summary>
    /// 
    /// </summary>
    public class User
    {
        public User() { }

        String name, surname, userName, jezik;
        int userId;
        int admin, velPrikaz;

        /// <summary>
        /// 
        /// </summary>
        public int UserId
        {
            get { return userId; }
            set { userId = value; }
        }

        public String UserName {
            get { return userName; }
            set { userName = value; }
        }

        public int Admin {
            get { return admin; }
            set { admin = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="surname"></param>
        public User(String name, String surname)
        {
            Name = name;
            Surname = surname;            
        }

        public User(String name, String surname, String userName, int userId, int admin) {

            Name = name;
            Surname = surname;
            UserName = userName;
            UserId = userId;
            Admin = admin;
        }
        public User (String name, String surname, String userName, int userId, string jezik, int velPrikaz)
        {

            Name = name;
            Surname = surname;
            UserName = userName;
            UserId = userId;
            Jezik = jezik;
            VelPrikaz = velPrikaz;
            
        }
       
        public User (String name, String surname, String userName)
        {
            Name = name;
            Surname = surname;
            UserName = userName;
        }

        
        
        /// <summary>
        /// 
        /// </summary>
        public String Name
        {
            get { return name; }
            set { name = value; }
        }

        public String Jezik
        {
            get { return jezik; }
            set { jezik = value; }
        }

        public int VelPrikaz
        {
            get { return velPrikaz; }
            set { velPrikaz = value; }
    }
        /// <summary>
        /// 
        /// </summary>
        public String Surname
        {
            get { return surname; }
            set { surname = value; }
        }

    }
}
